package com.travel.entity;

import org.springframework.stereotype.Component;

@Component
public class TCityType   {
  private int cityId;
  private String cityName;

  private TAttractionsDetailedCity detailedTity;
  public int getCityId() {
    return cityId;
  }

  public void setCityId(int cityId) {
    this.cityId = cityId;
  }

  public String getCityName() {
    return cityName;
  }

  public TAttractionsDetailedCity getDetailedTity() {
    return detailedTity;
  }

  public void setDetailedTity(TAttractionsDetailedCity detailedTity) {
    this.detailedTity = detailedTity;
  }

  public void setCityName(String cityName) {
    this.cityName = cityName;
  }

  public TCityType(int cityId, String cityName, TAttractionsDetailedCity detailedTity) {
    this.cityId = cityId;
    this.cityName = cityName;
    this.detailedTity = detailedTity;
  }

  @Override
  public String toString() {
       return "TCityType {" +
           "cityId=" + cityId +
           "cityName=" + cityName +
           "}";
  }
  public TCityType() {
  }
  public TCityType(int cityId,String cityName) {
       this.cityId = cityId;
       this.cityName = cityName;
  }

}
